package com.whale.cloud.util;

import com.alibaba.fastjson.JSONObject;

/**
 * Created by lide on 2017/9/8.
 */
public class PageUtil {
  public static int getTotalNum(int totalNumber,int page_num,int page_size){
    totalNumber = (totalNumber + page_size -1) / page_size;
    return totalNumber;
  }
}
